/*
 * Feature.h
 *
 *  Created on: 2018��9��13��
 *      Author: jia
 */

#ifndef FEATURE_H_
#define FEATURE_H_
#include<vector>
using namespace std;
class Feature {
public:
	Feature():mode(0){}
	void setMode(int mode){this->mode = mode;}
	int getMode()const{return this->mode;}
	vector<double>& getValues(){return values;}
	double value(double data);
	virtual ~Feature(){}
private:
	/**
	 * ��ʾ������ȡֵ������ɢ 0:��ɢ 1:����
	 */
	int mode;
	/**
	 * ��ʾȡֵ
	 */
	vector<double> values;
};

#endif /* FEATURE_H_ */
